/**
 * Created by li on 2017/2/22.
 */


    var heroArray = [
    {
        type: 0,//0 is hero ,1 is enemy
        mySprite: [653, 1323, 36, 41],
        name: '小火龙',
        //hp: 100,
        //hpMax: 100,
        level: 1,
        exp: 0,
        expArr: [20, 90, 280, 650],
        //attackNumber: 100,
        //defenseNumber: 30,
        //critical: 0.5,
        //dodge: 0.1,
        fiveElement: 4,
        //power: 20,
        //health: 20,
        //brains: 20,
        //agile: 20,

        powerGrow: 3,
        healthGrow: 2,
        brainsGrow: 1,
        agileGrow: 1,
    },
    {
        type: 0,
        mySprite: [959, 1303, 38, 39],
        name: '杰尼龟',
        hp: 100,
        hpMax: 100,
        level: 1,
        exp: 0,
        expArr: [20, 90, 280, 650],
        attackNumber: 10,
        defenseNumber: 3,
        critical: 0,
        dodge: 0,
        fiveElement: 4,
        power: 20,
        health: 20,
        brains: 20,
        agile: 20,
        powerGrow: 1,
        healthGrow: 2,
        brainsGrow: 3,
        agileGrow: 1,
    },
    {
        type: 0,
        mySprite: [403, 1240, 35, 41],
        name: '妙蛙种子',
        hp: 100,
        hpMax: 100,
        level: 1,
        exp: 0,
        expArr: [20, 90, 280, 650],
        attackNumber: 10,
        defenseNumber: 3,
        critical: 0,
        dodge: 0,
        fiveElement: 4,
        power: 20,
        health: 20,
        brains: 20,
        agile: 20,
        powerGrow: 2,
        healthGrow: 3,
        brainsGrow: 1,
        agileGrow: 1,
    },

    {
        type: 0,
        mySprite: [579, 1485, 34, 35],
        name: '波波',
        hp: 100,
        hpMax: 100,
        level: 1,
        exp: 0,
        expArr: [20, 90, 280, 650],
        attackNumber: 10,
        defenseNumber: 3,
        critical: 0,
        dodge: 0,
        fiveElement: 4,
        power: 20,
        health: 20,
        brains: 20,
        agile: 20,
        powerGrow: 1,
        healthGrow: 2,
        brainsGrow: 1,
        agileGrow: 3,
    },
    {
        type: 0,
        mySprite: [653, 1323, 36, 41],
        name: '皮卡丘',
        hp: 100,
        hpMax: 100,
        level: 1,
        exp: 0,
        expArr: [20, 90, 280, 650],
        attackNumber: 10,
        defenseNumber: 3,
        critical: 0,
        dodge: 0,
        fiveElement: 4,
        power: 20,
        health: 20,
        brains: 20,
        agile: 20,
        powerGrow: 1,
        healthGrow: 1,
        brainsGrow: 1,
        agileGrow: 1,
    },
];
var enemyArray = [
    {
        //10
        type: 1,
        mySprite: [421, 1440, 34, 34],
        name: '绿毛虫',
        level: 2,
        location:1,
        //exp: 120,
        fiveElement: 0,
        //hp: 20,
//        hpMax:100,
//        attackNumber: 5,
//        defenseNumber: 1,
//        critical:0,
//        dodge:0,
//        power: 20,
//        health: 20,
//        brains: 20,
//        agile: 20,
        powerGrow: 1,
        healthGrow: 1,
        brainsGrow: 1,
        agileGrow: 1,
    },
    {
        //13
        type: 1,
        mySprite: [647, 1408, 34, 37],
        name: '独角兽',
        level: 1,
        location:2,
        powerGrow: 1,
        healthGrow: 1,
        brainsGrow: 1,
        agileGrow: 1,
    },
    {
        //19
        type: 1,
        mySprite: [579, 1485, 34, 35],
        name: '小拉达',
        level: 3,
        location:3,
        powerGrow: 1,
        healthGrow: 1,
        brainsGrow: 1,
        agileGrow: 1,
    },
    {
        //21
        type: 1,
        mySprite: [579, 1485, 34, 35],
        name: '烈雀',
        level: 3,
        location:4,
        powerGrow: 1,
        healthGrow: 1,
        brainsGrow: 1,
        agileGrow: 1,
    },
    {
        //23
        type: 1,
        mySprite: [579, 1485, 34, 35],
        name: "阿柏蛇",
        level: 3,
        location:5,
        powerGrow: 1,
        healthGrow: 1,
        brainsGrow: 1,
        agileGrow: 1,
    },
];